package com.sls.game.service;

import com.sls.core.socket.Head;
import com.sls.game.page.Pagination;
import com.sls.game.pojo.yunen.YunEnProduct;
import com.sls.game.pojo.yunen.YunEnRespInfo;

public interface YunService {
	/**
	 * 保存产品信息
	 * 
	 * @param product
	 */
	public void save(String body, Head head);

	/**
	 * 修改信息
	 * 
	 * @param product
	 */
	public void update(String body, Head head);

	/**
	 * 详情查询
	 * 
	 * @param id
	 * @return
	 */
	public YunEnProduct queryById(String body, Head head);

	/**
	 * 分页查询
	 * 
	 * @param product
	 * @return
	 */
	public Pagination<YunEnProduct> queryPage(String body, Head head);

	/**
	 * 异步更新订单状态
	 * 
	 * @param body
	 * @param head
	 */
	public void updateOrderStatus(String body, Head head);
	
	public YunEnRespInfo queryOrder(String body, Head head);
}
